<table style="table-layout: fixed" class="table table-striped table-bordered">
	<thead>
		<tr>
			<th width="6%">
				<div ng-if="config.selectStyle=='radio'">选择</div>
				<div class="checkbox"  ng-if="config.selectStyle=='checkbox'">
					<label class="i-checks i-checks-sm">
						<input type="checkbox" name="{{attrName}}_checkbox_all" id="{{$index}}">
						<i></i>
					</label>
				</div>
			</th>
			<th ng-repeat="header in config.columnDefs" id="{{$index}}">{{header.displayName}}</th>
		</tr>
	</thead>
	<tbody>
		<tr ng-repeat="row in entrys">
			<td>
				<div class="radio" ng-if="config.selectStyle=='radio'">
					<label class="i-checks i-checks-sm">
						<input type="radio" name="{{attrName}}_radio" id="{{$index}}">
						<i></i>
					</label>
				</div>
				<div class="checkbox"  ng-if="config.selectStyle=='checkbox'">
					<label class="i-checks i-checks-sm">
						<input type="checkbox" name="{{attrName}}_checkbox" id="{{$index}}">
						<i></i>
					</label>
				</div>
			</td>
			<td ng-repeat="header in config.columnDefs"></td>
		</tr>
	</tbody>
	<tfoot class="hide-if-no-paging">
		<tr>
			<td colspan="{{columnSize}}">
				<div style="float: left;"><div ng-if="config.pagination">条目总数 : {{count}}</div><div>选中条目 : {{selectNum}}</div></div>
				<div style="float: right;" ng-if="config.pagination">
					<ul class="pagination-sm m-t-none m-b pagination ng-isolate-scope " >
						<li ng-class="{disabled: noPrevious()}">
							<a href="" ng-click="selectPage(1)">«</a>
						</li>
						<li ng-class="{disabled: noPrevious()}">
							<a href="" ng-click="selectPage(currentPage - 1)">‹</a>
						</li>
						<li ng-repeat="page in pages track by $index" ng-class="{active: page.active}">
							<a href="" ng-click="selectPage(page.number)">{{page.number}}</a>
						</li>
						<li ng-class="{disabled: noNext()}">
							<a href="" ng-click="selectPage(currentPage + 1)">›</a>
						</li>
						<li ng-class="{disabled: noNext()}">
							<a href="" ng-click="selectPage(totalPages)">»</a>
						</li>
					</ul>
				</div>
				<div class="clearfix visible-xs"></div>
			</td>
		</tr>
	</tfoot>
</table>